package com.qf.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- 天道酬勤 ---
 *
 * @author 卢泓光
 * @date 2025/8/9
 * @desc
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Emp {
    private Integer empno;
    private String ename;
    private String job;
    private Integer mgr;
    //格式化时间
    // @DateTimeFormat(pattern = "yyyy-MM-dd")
    // @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")
    private Date hiredate;
    private Double sal;
    private Double comm;
    private Integer deptno;


}
